package com.bk.mapper.address;

import java.util.List;

import org.springframework.stereotype.Component;

import com.bk.entity.AddressInfo;

@Component
public interface AddressMapper {

	/**通过level级别获取相应级别的城市*/
	List<AddressInfo> getAddressByLevel(int level);

	/**通过父类id获取子类城市*/
	List<AddressInfo> getAddressByParentId(int parentId);

}
